namespace Gj.Cache
{
    public class LFUNode<K, V>
    {
        public LFUNode(K key, V value)
        {
            Key = key;
            Value = value;
            Frequency = 1;
        }

        public LFUNode()
        {
        }

        public K Key { get; set; }
        public V Value { get; set; }
        public int Frequency { get; set; }
        public LFUNode<K, V> Previous { get; set; }
        public LFUNode<K, V> Next { get; set; }
    }
}